/**
 * 
 */
package com.bjtct.plugin.autogen;

import org.eclipse.ui.console.ConsolePlugin;
import org.eclipse.ui.console.IConsole;
import org.eclipse.ui.console.MessageConsole;

/**
 * 打印日志信息
 * @author syf
 *
 */
public class TctConsole {
	private static MessageConsole tct ; 
	static{
		tct = new MessageConsole ("TCT",null);
		ConsolePlugin.getDefault().getConsoleManager().addConsoles(new IConsole[]{tct});
	}
	public static void printLog(String msg){
		tct.newMessageStream().println(msg);	 
		
	}
	 
}
